package com.hxgz.steel.service;

import com.hxgz.steel.common.ServerResponse;
import com.hxgz.steel.dto.CategoryTimeDto;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface WebService {

  ServerResponse getAdManager(int status);


  ServerResponse updateAdManager(String id, MultipartFile multipartFile,
      HttpServletRequest request);

  ServerResponse checkAn();

  ServerResponse addAn(String content);

  ServerResponse delete(Long aLong);


  ServerResponse checkCategory(Integer parentId,Integer status);

  ServerResponse updateCategory(String id, String name);

  ServerResponse addCategory(String name, String id, String funcId);

  ServerResponse checkSocerManager();

  ServerResponse updateSocerManager(String id, String socer);

  ServerResponse updateaAreementManager(String content);

  ServerResponse checkConsumerNews();

  ServerResponse updateConsumerNews();

  ServerResponse checkNewsManager(Integer belongId);

  ServerResponse addNewsManager(Integer belongId, String title, String content);

  ServerResponse deleteNewsManager(String id);

  ServerResponse checkNewsManagerId(String id);

  ServerResponse checkgetAgreementManager();
}
